3.117 \(\int \frac{1}{x \sqrt{\cos (a+b \log (c x^n))}} \, dx\)

Optimal. Leaf size=24 \[ \frac{2 \text{EllipticF}\left (\frac{1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )}{b n} \]

[Out]

(2*EllipticF[(a + b*Log[c*x^n])/2, 2])/(b*n)

________________________________________________________________________________________

Rubi [A]  time = 0.0279455, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053, Rules used = {2641} \[ \frac{2 F\left (\left .\frac{1}{2} \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n} \]

Antiderivative was successfully verified.

[In]

Int[1/(x*Sqrt[Cos[a + b*Log[c*x^n]]]),x]

[Out]

(2*EllipticF[(a + b*Log[c*x^n])/2, 2])/(b*n)

Rule 2641

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticF[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ
[{c, d}, x]

Rubi steps

\begin{align*} \int \frac{1}{x \sqrt{\cos \left (a+b \log \left (c x^n\right )\right )}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{\cos (a+b x)}} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{2 F\left (\left .\frac{1}{2} \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n}\\ \end{align*}

Mathematica [A]  time = 0.0853128, size = 24, normalized size = 1. \[ \frac{2 \text{EllipticF}\left (\frac{1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )}{b n} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x*Sqrt[Cos[a + b*Log[c*x^n]]]),x]

[Out]

(2*EllipticF[(a + b*Log[c*x^n])/2, 2])/(b*n)

________________________________________________________________________________________

Maple [C]  time = 0.037, size = 26, normalized size = 1.1 \begin{align*} 2\,{\frac{{\it InverseJacobiAM} \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) ,\sqrt{2} \right ) }{bn}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x/cos(a+b*ln(c*x^n))^(1/2),x)

[Out]

2/b/n*InverseJacobiAM(1/2*a+1/2*b*ln(c*x^n),2^(1/2))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{x \sqrt{\cos \left (b \log \left (c x^{n}\right ) + a\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/cos(a+b*log(c*x^n))^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(x*sqrt(cos(b*log(c*x^n) + a))), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{1}{x \sqrt{\cos \left (b \log \left (c x^{n}\right ) + a\right )}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/cos(a+b*log(c*x^n))^(1/2),x, algorithm="fricas")

[Out]

integral(1/(x*sqrt(cos(b*log(c*x^n) + a))), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{x \sqrt{\cos{\left (a + b \log{\left (c x^{n} \right )} \right )}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/cos(a+b*ln(c*x**n))**(1/2),x)

[Out]

Integral(1/(x*sqrt(cos(a + b*log(c*x**n)))), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{x \sqrt{\cos \left (b \log \left (c x^{n}\right ) + a\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/cos(a+b*log(c*x^n))^(1/2),x, algorithm="giac")

[Out]

integrate(1/(x*sqrt(cos(b*log(c*x^n) + a))), x)